package com.ruoyi.jdbc.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.jdbc.domain.Order;

import java.time.LocalDateTime;

/**
 * @author liyang
 */
public interface OrderService {

    AjaxResult insert(Order o);

    AjaxResult queryById(Long id);

    AjaxResult queryByTime(LocalDateTime start, LocalDateTime end);
}
